const proxy = require('./config/devServer/proxy')

const devServer = {}

if (Object.keys(proxy).length)
  devServer['proxy'] = proxy

module.exports = {
  devServer,
  configureWebpack: (config) => {
    config.entry = ["@babel/polyfill", "./src/main.js"]
  }
}
